<%-- 
    Document   : menu_left
    Created on : Oct 26, 2009, 12:19:54 PM
    Author     : Phong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.sql.*" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <jsp:useBean id="ObjectSub" class="DAO.DAOMenu" scope="page" />
        <script language="javascript" src="Menu/stmenu.js"> </script>
        <script language="javascript">
            stm_bm(["menu295c",900,"/","http://localhost:8080/TestOnline/Menu/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","Menu",1,25],this);
            stm_bp("p0",[1,4,0,0,4,2,10,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","",3,0,0,"#000000"]);
            stm_ai("p0i0",[0,"MENU TEST           ","","",-1,-1,0,"","_self","","","http://localhost:8080/TestOnline/Menu/icon_47.gif","http://localhost:8080/TestOnline/Menu/icon_47.gif",10,10,0,"","",0,0,0,0,1,"#000000",0,"#CCCCC2",0,"","",3,3,0,0,"#E6EFF9","#000000","#0066FF","#000000","bold 8pt Verdana","bold 8pt Verdana",0,0,"","","","",0,0,0],0,20);
            <%
            ResultSet rs = ObjectSub.selectSuject();
            while (rs.next()) {
            %>
                stm_ai("p0i1",[6,1,"#999999","",-1,-1,0]);
                stm_aix("p0i2","p0i0",[0,"<%=rs.getString("SubjectName")%>","","",-1,-1,0,"ajaxJSP.jsp?id=<%=rs.getString("SubjectID")%>","_self","","","http://localhost:8080/TestOnline/Menu/icon_01.gif","http://localhost:8080/TestOnline/Menu/icon_02.gif",8,8,0,"","",0,0,0,0,1,"#999900",1,"#FFD602",1,"","",3,3,0,0,"#E6EFF9","#000000","#000000","#FF0000"]);
            <% 
                }
            %>
                stm_ep();
                stm_em();
        </script>
    </body>
</html>
